import {TASK_NEW,TASK_OPEN,TASK_CLOSE} from '../constants/ActionTypes'

const NewTask=(task)=>{
    type:TASK_NEW,
    task

}

const OpenTask=(handle)=>{
    type:TASK_OPEN,
    handle
}

const CloseTask=(handle)=>{
    type:TASK_CLOSE,
    handle
}

export default {NewTask,OpenTask,CloseTask};